export const tableComponentConfig = {
  removeButton: () =>
    import('@/common/views/baseComponent/tableComp/removeButton.vue'),
};

export const tableRenderConfig = {
  name: {
    title: 'Name',
    dataIndex: 'name',
  },
  salary: {
    title: 'Salary',
    dataIndex: 'salary',
  },
  address: {
    title: 'Address',
    dataIndex: 'address',
  },
  email: {
    title: 'Email',
    dataIndex: 'email',
  },
  remove: {
    title: '选项',
    dataIndex: 'remove',
    componentName: 'removeButton',
  },
};
